using System;
using System.Collections.Generic;
using System.Text;

namespace Stratman.Utilities.NetFlix
{
    /// <summary>
    /// Data that is returned from NetFlix's server when the details for a particular movie are
    /// requested through the JSON interface.
    /// </summary>
    public struct JsonMovieDetails
    {
        /// <summary>
        /// Numeric identifier of the movie that was queried.
        /// </summary>
        public string id;
        /// <summary>
        /// Title of the movie.
        /// </summary>
        public string title;
        /// <summary>
        /// The MPAA rating for the movie.
        /// </summary>
        public string mpaa;
        /// <summary>
        /// Year that the movie was released.
        /// </summary>
        public string year;
        /// <summary>
        /// A brief plot summary for the movie.
        /// </summary>
        public string synopsis;
        /// <summary>
        /// The genre to which the movie belongs.
        /// </summary>
        public string genre;
        /// <summary>
        /// A list of actors that starred in the movie.
        /// </summary>
        public JsonPerson[] starring;
        /// <summary>
        /// A list of directors for the movie.
        /// </summary>
        public JsonPerson[] directors;
        /// <summary>
        /// A predicted rating for the movie based on ratings of users similar to the current user.
        /// </summary>
        public int ratedPredictCount;
        /// <summary>
        /// Data concerning the customer ratings for this movie.
        /// </summary>
        public JsonRatingData starClarityData;
    }
}
